<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <meta name="renderer" content="webkit" />
    <title>login</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="${pageContext.request.contextPath}/static/css/font-awesome.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/css/login.css" rel="stylesheet" />
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/login.js"></script>
</head>
<body>
<form action="${pageContext.request.contextPath}/userLogin.action" method="post" class="form" id="myForm">
    <div class="top">
        <img src="${pageContext.request.contextPath}/static/imgs/logo2.png">
    </div>
   <div class="center">
       <div class="bodyTitle"><span>LOG  IN</span></div>
       <div class="email">
           <div class="fontLeft"><span class="fa fa-envelope-o"></span></div>
           <div class="input"><input type="text" name="username" placeholder="请输入账号" id="user-number"></div>
       </div>
       <div class="password">
           <div class="fontLeft"><span class="fa fa-lock"></span></div>
           <div class="input"><input type="password" name="password"  placeholder="请输入密码" id="password"></div>
       </div>
       <div class="kong" style="color: red;">${msg}</div>
       <div class="submit">
           <input type="button" onclick="beforeSubmit()" value="点击登录">
       </div>
   </div>
   <div class="bottom">
       <div class="other">
           <div class="kong"></div>
           <div class="newUser">
               <span>新用户？<a href="register.html">点击注册</a></span>
           </div>
       </div>
   </div>
</form>
</body>
</html>
